import * as THREE from "three";

const geometry = new THREE.BoxGeometry(60, 30, 20)
const material = new THREE.MeshLambertMaterial({
    color: 0xffff00,
    transparent: true,
    opacity: 0.8
})
const boxMesh = new THREE.Mesh(geometry, material)

console.log(material, "材质对象");
const boxMesh1 = boxMesh.clone()
console.log(boxMesh1,"clone");

boxMesh1.position.set(50,0,0)
// boxMesh1.material.color.setStyle('#ffffff')
export default boxMesh1